// C:\Users\王硕\Desktop\毕设\housing-rental-system-frontend\新建文件夹\vue-demo\src\api\modules\auth.js
import request from "../request";

export default {
  login(data) {
    return request.post("/api/auth/login", data);
  },
  register(data) {
    return request.post("/api/auth/register", data);
  },
  resetPwd(data) {
    return request.post("/api/auth/resetPwd", data);
  },
  changePassword(data) {
    return request.post("/api/auth/changePassword", data);
  },
};
